package com.magupe.im.web.protocol.response;


import com.alibaba.fastjson.JSON;
import com.magupe.im.web.protocol.Command;

public class IdleStateResponse extends BaseResponse {

    public IdleStateResponse(int statusCode, String message) {
        super(statusCode, message);
    }

    public IdleStateResponse(ResponseStatus status) {
        super(status);
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    @Override
    public byte getCommand() {
        return Command.HEART_BEAT_RESPONSE;
    }
}
